import http from '../utils/http.js'

export const getBlindBoxPage = (params) => {
  return http.post('/box/getBlindBoxPage', params)
}

export const getBlindBoxDetails = (id) => {
  return http.get(`/box/getBlindBoxDetails/${id}`)
}


export const getFollowUpPage = (params) => {
  return http.post('/box/followUpPage', params)
}

export const openBox = (id) => {
  return http.get(`/box/openBox/${id}`)
}

export const cancelSale = (boxId) => {
  return http.get(`/box/cancelSale/${boxId}`)
}

export const getOtherBox = (params) => {
  return http.post('/box/getOtherBox', params)
}
